import { ipcMain, IpcMainEvent } from 'electron'
class Listener{
    constructor(){

    }

    asyncRoute( event: IpcMainEvent, ...args: any[] ){
        console.log(event, args )
        const msgtag = args[1]
        // if(args)
        console.log('methods')
    }

    route( event: IpcMainEvent, ...args: any[] ){
        console.log(event, args )
    }

    once( msgtag: string, handler: Function){
        
    }
}

export default new Listener()